projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
576028b
)
frame: Fix gadget conversion
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 16 Dec 2015 22:12:12 +0000
(17:12 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 16 Dec 2015 22:12:12 +0000
(17:12 -0500)
The GtkCssAllocateFunc must set the clip to meaningful values.
gtk/gtkframe.c
patch
|
blob
|
history
diff --git
a/gtk/gtkframe.c
b/gtk/gtkframe.c
index c50c1df01f0925e626ba460a19ca0d04d87c3a54..41b094840ca3e3648872eb17e818670ae34a0796 100644
(file)
--- a/
gtk/gtkframe.c
+++ b/
gtk/gtkframe.c
@@
-852,6
+852,8
@@
gtk_frame_allocate_border (GtkCssGadget *gadget,
child = gtk_bin_get_child (GTK_BIN (widget));
if (child && gtk_widget_get_visible (child))
gtk_widget_size_allocate (child, (GtkAllocation *)allocation);
+
+ *out_clip = *allocation;
}
static void